package com.zhonge.adapter;

/**
 * @ClassName AngleAdapter
 * @Description TODO 适配器类
 * @Author zhongge
 * @Version 1.0
 */
public class AngleAdapter implements View{
    //合作团队
    private Angle angleObj = new Angle();
    private double angleVal;

    //构造函数

    public AngleAdapter(double angleVal) {
        this.angleVal = angleVal;
    }

    @Override
    public void draw() {
        angleObj.drawAngle(angleVal);
    }
}
